import httpRequest from '@/utils/httpRequest'
import constant from '../constant'

export function pageGroupData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/page',
    method: 'post',
    data: data
  })
}

export function listGroupData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/list',
    method: 'post',
    data: data
  })
}
export function createBranch (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/createBranch',
    method: 'post',
    data: data
  })
}
export function saveData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/save',
    method: 'post',
    data: data
  })
}
export function getData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/get',
    method: 'post',
    data: data
  })
}
export function compareBeforeMerge (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/compareBeforeMerge',
    method: 'post',
    data: data
  })
}
export function mergeData (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/merge',
    method: 'post',
    data: data
  })
}
export function delGroup (data) {
  return httpRequest({
    url: constant.DR + '/rule/branchRuleGroupInfo/del',
    method: 'post',
    data: data
  })
}



